cmake_minimum_required(VERSION 2.8)

project(Prototype)

set(CMAKE_VERBOSE_MAKEFILE on)
set(CMAKE_CXX_COMPILER "g++")
set(CMAKE_CXX_FLAGS "-Wall")
set(CMAKE_CXX_DEBUG "-g3")
set(CMAKE_CXX_RELEASE "-O2")
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
aux_source_directory(. SRC_LIST)


if(${CMAKE_BUILD_TYPE} MATCHES "debug")
	add_executable(Prototype_debug ${SRC_LIST})
	
else()
	add_executable(Prototype ${SRC_LIST})
endif()
